body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e0f7fa;
}
.header {
    background-color: cornflowerblue;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .title {
    font-size: 24px;
}
.header .user-info {
    font-size: 16px;
}
.container {
    padding: 20px;
    max-width: 600px;
    margin: auto;
}
.product-info, .payment-methods {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.product-info h2, .payment-methods h2 {
    margin-top: 0;
    font-size: 24px;
}
.product-info p {
    font-size: 20px;
}
.payment-methods .selected-method {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
}
.payment-methods .selected-method img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}
.payment-methods .selected-method:hover {
    background-color: #e0e0e0;
}
.pay-button {
    background-color: cornflowerblue;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}
.pay-button:active {
    background-color: #1976D2;
}
.modal, .payment-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}
.modal-content, .payment-modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}
.modal-content input[type="password"], .payment-modal-content input[type="password"] {
    width: 90%;
    padding: 10px;
    margin: 10px 10px 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 18px;
}
.modal-content .keypad, .payment-modal-content .keypad {
    display: flex;
    flex-wrap: wrap;
}
.modal-content .keypad button, .payment-modal-content .keypad button {
    width: 30%;
    padding: 15px;
    margin: 5px;
    font-size: 18px;
    cursor: pointer;
}
.payment-modal-content .method {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
}
.payment-modal-content .method img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}
.payment-modal-content .method:hover {
    background-color: #e0e0e0;
}

.password-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid {
    display: flex;
    justify-content: space-between;
    width: 390px;
    margin-bottom: 10px;
}

.cell {
    width: 60px;
    height: 60px;
    border: 1px solid #000;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 40px;
    font-size: 24px;
    margin-right: 10px;
}